home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / glibmm-2.4 / proc / m4 / class_generic.m4 < prev    next >
M4 Source File  |  2006-04-20  |  853b  |  55 lines

  1. dnl $Id: class_generic.m4,v 1.1.1.1 2003/01/07 16:59:05 murrayc Exp $
  2.  
  3. dnl
  4. dnl _CLASS_GENERIC(LayoutIter, PangoLayoutIter)
  5. dnl
  6.  
  7. define(`_CLASS_GENERIC',`dnl
  8. _PUSH()
  9. dnl
  10. dnl  Define the args for later macros
  11. define(`__CPPNAME__',`$1')
  12. define(`__CNAME__',`$2')
  13.  
  14. _POP()
  15. _SECTION(SECTION_CLASS2)
  16. ') dnl End of _CLASS_GENERIC.
  17.  
  18.  
  19. dnl
  20. dnl _END_CLASS_GENERIC()
  21. dnl   denotes the end of a class
  22. dnl
  23. define(`_END_CLASS_GENERIC',`
  24.  
  25. _SECTION(SECTION_SRC_GENERATED)
  26.  
  27. __NAMESPACE_BEGIN__
  28.  
  29. dnl The implementation:
  30.  
  31. _IMPORT(SECTION_CC)
  32.  
  33. __NAMESPACE_END__
  34.  
  35. dnl
  36. dnl
  37. dnl
  38. dnl
  39. _POP()
  40. dnl
  41. dnl
  42. dnl The actual class, e.g. Pango::FontDescription, declaration:
  43. dnl
  44. _IMPORT(SECTION_CLASS1)
  45. public:
  46. #ifndef DOXYGEN_SHOULD_SKIP_THIS
  47.   typedef __CPPNAME__ CppObjectType;
  48.   typedef __CNAME__ BaseObjectType;
  49. #endif /* DOXYGEN_SHOULD_SKIP_THIS */
  50.  
  51. private:
  52. _IMPORT(SECTION_CLASS2)
  53. ')
  54.  
  55.